
<template>
    <div class="app-container">
        <!-- 证件上传 -->
        <div class="upload">
            <el-col :span="4">
                <p>店招（1920*110）</p>
                <elUpload
                    :autoUpload="false"
                    :limit="1"
                    :viewer="true"
                    :fileList="formData.fileList1"
                ></elUpload>
            </el-col>
            <el-col :span="4">
                <p>店铺简介宣传图（1920*450）</p>
                <elUpload
                    :autoUpload="false"
                    :limit="1"
                    :viewer="true"
                    :fileList="formData.fileList2"
                ></elUpload>
            </el-col>
            <el-col :span="4">
                <p>营业执照（图片需放正）</p>
                <elUpload
                    :autoUpload="false"
                    :limit="1"
                    :viewer="true"
                    :fileList="formData.fileList3"
                ></elUpload>
            </el-col>
            <el-col :span="4">
                <p>药品经营许可证（图片需放正）</p>
                <elUpload
                    :autoUpload="false"
                    :limit="1"
                    :viewer="true"
                    :fileList="formData.fileList4"
                ></elUpload>
            </el-col>
            <el-col :span="4">
                <p>GSP证书（图片需放正）</p>
                <elUpload
                    :autoUpload="false"
                    :limit="1"
                    :viewer="true"
                    :fileList="formData.fileList5"
                ></elUpload>
            </el-col>
        </div>
        <!-- 编辑器 -->
        <div class="ueditor">
            <UEditor ref="ue" :defaultMsg="defaultMsg"></UEditor>
        </div>
        <div class="saveBtn">
            <el-button type="primary" round @click="save">保存</el-button>
        </div>
    </div>
</template>

<script>
import elUpload from "@/components/xForm/elUpload";
import UEditor from "@/components/xForm/ue.vue";
export default {
    name: "introductionDetail",
    components: { elUpload, UEditor },
    data() {
        return {
            formData: {
                fileList1: [],
                fileList2: [],
                fileList3: [],
                fileList4: [],
                fileList5: [],
            },
            defaultMsg: "",
        };
    },
    mounted() {},
    methods: {
        save(){}
    },
};
</script>
<style scoped>
p {
    font-size: 12px;
    color: #666666;
}
.upload {
    margin-bottom: 210px;
}
.ueditor {
    width: 1600px;
}
.saveBtn {
    text-align: center;
    margin: 50px 0;
}
</style>
